home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / gcc / gcc270_inclib.lha / gnu / include / search.h < prev    next >
C/C++ Source or Header  |  1994-02-23  |  320b  |  14 lines

  1. #ifndef _SEARCH_H
  2. #define _SEARCH_H
  3.  
  4. /* search.h -- declarations for POSIX/SVID-compatible search functions */
  5.  
  6. /* HSEARCH(3C) */
  7. typedef struct entry { char *key, *data; } ENTRY;
  8. typedef enum { FIND, ENTER } ACTION;
  9.  
  10. /* TSEARCH(3C) */
  11. typedef enum { preorder, postorder, endorder, leaf } VISIT;
  12.  
  13. #endif /* _SEARCH_H */
  14.